From: Dennis Camera Date: Sat, 11 Jan 2025 17:59:42 +0000 (+0100) Subject: openvpn: remove kmod-ovpn-dco-v2 dependency X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=00623806bc54fb36a3c43d5682175ccaffae772f;p=feed%2Fpackages.git openvpn: remove kmod-ovpn-dco-v2 dependency OpenVPN does work without the kernel module, it just won't be able to use DCO. To make life easier for OpenVPN users on very space-constrained devices make it an optional dependency. Signed-off-by: Dennis Camera (cherry picked from commit 01fafd69ef276cd3ae80e9a633391d5f7a8d7dfe) Signed-off-by: Sander van Deijck --- diff --git a/net/openvpn/Makefile b/net/openvpn/Makefile index f1301d89a3..37df44d8ac 100644 --- a/net/openvpn/Makefile +++ b/net/openvpn/Makefile @@ -37,7 +37,7 @@ define Package/openvpn/Default SUBMENU:=VPN MENU:=1 DEPENDS:=+kmod-tun +libcap-ng +OPENVPN_$(1)_ENABLE_LZO:liblzo +OPENVPN_$(1)_ENABLE_LZ4:liblz4 +OPENVPN_$(1)_ENABLE_IPROUTE2:ip \ - +OPENVPN_$(1)_ENABLE_DCO:libnl-genl +OPENVPN_$(1)_ENABLE_DCO:kmod-ovpn-dco-v2 $(3) + +OPENVPN_$(1)_ENABLE_DCO:libnl-genl $(3) VARIANT:=$(1) PROVIDES:=openvpn openvpn-crypto endef